home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / programmierung / gadutil / docs / autodocs / 49.gu_checkversion < prev    next >
Encoding:
Text File  |  1996-05-31  |  766 b   |  29 lines

  1. gadutil.library/GU_CheckVersion               gadutil.library/GU_CheckVersion
  2.  
  3.    NAME
  4.     GU_CheckVersion -- Check the version.revision of a library
  5.  
  6.    SYNOPSIS
  7.     success = GU_CheckVersion(library, version, revision)
  8.     D0, SR(Z)                 A0       D0       D1
  9.  
  10.     BOOL GU_CheckVersion(struct Library *, UWORD, UWORD);
  11.  
  12.    FUNCTION
  13.     Compares a library's version and revision with a required one.
  14.     
  15.    INPUTS
  16.     library  - a pointer to an opened library/device
  17.     version  - the version of the library that is required
  18.     revision - the revision of the library that is required
  19.  
  20.    RESULT
  21.     success - TRUE if the required version is older or equal to the
  22.           opened one. FALSE otherwise.
  23.     SR(Z)   - 0 if function returns TRUE, 1 otherwise
  24.  
  25.    BUGS
  26.     none known
  27.  
  28.    SEE ALSO
  29.